import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const state = {
  userId: null
}
const mutations = {
  setUertId(state, id) {
    state.userId = id
  }
}
const actions = {}
export default new Vuex.Store({
  state,
  mutations,
  actions,
})